﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Jzy.BLL.SiteAdmin;
using Jzy.Model.SiteAdmin;
using Jzy.Core.Common.Web;

namespace Jzy.Web.WebSite
{
    public partial class ContactUs : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                DispInfo();
            }
        }

        private void DispInfo()
        {
            CmsProfileBO profile = new CmsProfileBO();
            CmsProfileInfo info = profile.GetInfo(profile.GetFirstID());

            EntityUtil.SetControl(pnl, info);
        }
    }
}
